package com.stone.design.patterns.template;

import java.text.SimpleDateFormat;

/**
 * @author Stone
 * @version V1.0
 * @description:
 * @date 4/21/18 14:01
 * @email redsstone@163.com
 */
public abstract class CaffeineBeverage {

    public CaffeineBeverage() {
    }

    final void  prepareRecipe() {
        boilWater();
        brew();
        pourInCup();
        addCondiments();
    }

    abstract void brew();
    abstract void addCondiments();
    void boilWater() {

    }

    void pourInCup() {

    }
}
